package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购申报货物对象 sys_declaregoods
 * 
 * @author ruoyi
 * @date 2020-12-28
 */
public class SysDeclaregoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 采购申报货物表ID */
    private Long declareGoodsId;

    /** 采购申报表ID */
    @Excel(name = "采购申报表ID")
    private Long procurementDeclareId;

    /** 货物名称 */
    @Excel(name = "货物名称")
    private String goodsName;

    /** 技术参数 */
    @Excel(name = "技术参数")
    private String parameters;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String unit;

    /** 数量 */
    @Excel(name = "数量")
    private Integer number;

    /** 单价（元） */
    @Excel(name = "单价", readConverterExp = "元=")
    private Long price;

    /** 金额（元） */
    @Excel(name = "金额", readConverterExp = "元=")
    private Long sumPrice;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String attribite1;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String attribite3;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String attribite2;

    public void setDeclareGoodsId(Long declareGoodsId) 
    {
        this.declareGoodsId = declareGoodsId;
    }

    public Long getDeclareGoodsId() 
    {
        return declareGoodsId;
    }
    public void setProcurementDeclareId(Long procurementDeclareId) 
    {
        this.procurementDeclareId = procurementDeclareId;
    }

    public Long getProcurementDeclareId() 
    {
        return procurementDeclareId;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setParameters(String parameters) 
    {
        this.parameters = parameters;
    }

    public String getParameters() 
    {
        return parameters;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setNumber(Integer number) 
    {
        this.number = number;
    }

    public Integer getNumber() 
    {
        return number;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setSumPrice(Long sumPrice) 
    {
        this.sumPrice = sumPrice;
    }

    public Long getSumPrice() 
    {
        return sumPrice;
    }
    public void setAttribite1(String attribite1) 
    {
        this.attribite1 = attribite1;
    }

    public String getAttribite1() 
    {
        return attribite1;
    }
    public void setAttribite3(String attribite3) 
    {
        this.attribite3 = attribite3;
    }

    public String getAttribite3() 
    {
        return attribite3;
    }
    public void setAttribite2(String attribite2) 
    {
        this.attribite2 = attribite2;
    }

    public String getAttribite2() 
    {
        return attribite2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("declareGoodsId", getDeclareGoodsId())
            .append("procurementDeclareId", getProcurementDeclareId())
            .append("goodsName", getGoodsName())
            .append("parameters", getParameters())
            .append("unit", getUnit())
            .append("number", getNumber())
            .append("price", getPrice())
            .append("sumPrice", getSumPrice())
            .append("createTime", getCreateTime())
            .append("attribite1", getAttribite1())
            .append("attribite3", getAttribite3())
            .append("attribite2", getAttribite2())
            .toString();
    }
}
